#pragma once

using namespace System;
using namespace System::Collections::Generic;
using namespace System::Text;
using namespace System::Runtime::InteropServices;

namespace SbCli
{
	public ref class TimeTool sealed
	{
	private:
		TimeTool()
		{
		}

	public:
		static void Sleep(kuint milliseconds)
		{
			k_sleep(milliseconds);
		}

		static void Ssleep(kuint seconds)
		{
			k_ssleep(seconds);
		}

		static void Usleep(kuint microseconds)
		{
			k_usleep(microseconds);
		}

		static property kuint Cycles
		{
			kuint get()
			{
				return k_cycles();
			}
		}

		static property double CurTick
		{
			double get()
			{
				return k_curtick();
			}
		}

		static property kuint Tick
		{
			kuint get()
			{
				return k_gettick();
			}
		}

		static property kulong LongTick
		{
			kulong get()
			{
				return k_gettick_long();
			}
		}
	};
}
